﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Elf.Data.Entity.Interfaces
{
    /// <summary>
    /// Interface for entities having a unique key.
    /// </summary>
    public interface IEntityId : IEntityBase
    {
        /// <summary>
        /// Gets or sets the id.
        /// </summary>
        /// <value>
        /// The id.
        /// </value>
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode"), System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
        Guid Id { get; set; }
    }
}
